//
//  HMExpressionPageView.swift
//  HMSlender
//
//  Created by 赵少朋赵少朋 on 2017/2/15.
//  Copyright © 2017年 ITheima. All rights reserved.
//

import UIKit

class HMExpressionPageView: UICollectionView {

    override init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout) {
        
        let flowLayout = UICollectionViewFlowLayout()
        
        super.init(frame: frame, collectionViewLayout: flowLayout)
        
        setupUI()
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    func setupUI() -> Void {
        
        backgroundColor = randomeColor()
    }
    
}
